from datetime import datetime
from prepare.ana_data import analyse_data

from log.log import Logger
import datetime
import pandas as pd
import numpy as np

'''
日志记录文件
'''

class LogModel(object):
    def __init__(self):
        # 配置日志记录  获取Logger记录器
        self.logfile = Logger(root_path='../logmodel/',
                              log_name='log_test_' + datetime.datetime.now()
                              .strftime('%Y%m%d%H%M%S')).get_logger()
        # todo 完善特征工程
        self.data_preprocess = analyse_data('../data/新数据成长性_合并.xlsx')
